package com.isoft.c2team3service2.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("private_post")
public class PrivatePost {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer userId;
    private Integer artistId;
    private String content;
    private String filteredContent;
    private Integer status;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}